﻿

using PrecedentLib;

namespace TfsComLib.TfsBranchLib2
{
    /// <summary>
    ///     For presentation in BranchSetComboBox
    /// </summary>
    public class BranchSetItem
    {
        public static BranchSetItem AllBranchesItem = new BranchSetItem
        {
            ItemType = BranchSetItemType.AllBranches,
            BranchSetValue = null
        };

        public BranchSetItemType ItemType { get; set; }
        public PrecedentContainer<BranchSet>.PrecedentAggregator BranchSetValue { get; set; }
    }

    /// <summary>
    ///     Type of BranchSet
    /// </summary>
    public enum BranchSetItemType
    {
        Standard,
        AllBranches
    }
}